package core.main;

import java.io.File;
import java.util.Observable;

import core.gui.FileChooser;
import core.gui.OutputFrame;

public abstract class Main{

	protected static OutputFrame myGUI;

	 protected static File initializeGUI(String title, Observable ... obs){
		myGUI = new OutputFrame(title);
		for (Observable ob: obs)
			ob.addObserver(myGUI);
		return new FileChooser().getPDBFile();
	}
	
}
